<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.Plots.PlotElement&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_plots_1_1_plot_element.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_vect_sharp_1_1_plots_1_1_plot_element-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.Plots.PlotElement&lt; T &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A plot element that uses an Action to draw its contents.   
 <a href="class_vect_sharp_1_1_plots_1_1_plot_element.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for VectSharp.Plots.PlotElement&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="class_vect_sharp_1_1_plots_1_1_plot_element__inherit__graph.png" border="0" usemap="#a_vect_sharp_8_plots_8_plot_element_3_01_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="a_vect_sharp_8_plots_8_plot_element_3_01_t_01_4_inherit__map" id="a_vect_sharp_8_plots_8_plot_element_3_01_t_01_4_inherit__map">
<area shape="rect" title="A plot element that uses an Action to draw its contents." alt="" coords="5,79,228,104"/>
<area shape="rect" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html" title="Represents a plot element." alt="" coords="69,5,165,31"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a281eea97e18fe4d743a570446af2237d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html#a281eea97e18fe4d743a570446af2237d">PlotElement</a> (<a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; T &gt; coordinateSystem, Action&lt; <a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; T &gt; &gt; plotAction)</td></tr>
<tr class="memdesc:a281eea97e18fe4d743a570446af2237d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html#a281eea97e18fe4d743a570446af2237d" title="Create a new PlotElement&lt;T&gt; using the specified coordinate system and plot action.">PlotElement&lt;T&gt;</a> using the specified coordinate system and plot action.   <a href="class_vect_sharp_1_1_plots_1_1_plot_element.html#a281eea97e18fe4d743a570446af2237d">More...</a><br /></td></tr>
<tr class="separator:a281eea97e18fe4d743a570446af2237d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf5aaf6fa1f7bf58dfccde750e654e35"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html#aaf5aaf6fa1f7bf58dfccde750e654e35">Plot</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> target)</td></tr>
<tr class="memdesc:aaf5aaf6fa1f7bf58dfccde750e654e35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> on which to draw.</td></tr>
  </table>
  </dd>
</dl>
  <a href="class_vect_sharp_1_1_plots_1_1_plot_element.html#aaf5aaf6fa1f7bf58dfccde750e654e35">More...</a><br /></td></tr>
<tr class="separator:aaf5aaf6fa1f7bf58dfccde750e654e35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a245cbde8d8059a46690bd3b32b1cf903"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">Plot</a> (<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> target)</td></tr>
<tr class="memdesc:a245cbde8d8059a46690bd3b32b1cf903"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>.   <a href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">More...</a><br /></td></tr>
<tr class="separator:a245cbde8d8059a46690bd3b32b1cf903"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="properties" name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a950fe0a0721d9be885ad151f15e5ab97"><td class="memItemLeft" align="right" valign="top">Action&lt; <a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; T &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html#a950fe0a0721d9be885ad151f15e5ab97">PlotAction</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a950fe0a0721d9be885ad151f15e5ab97"><td class="mdescLeft">&#160;</td><td class="mdescRight">The action that is invoked when the plot element needs to be drawn.   <a href="class_vect_sharp_1_1_plots_1_1_plot_element.html#a950fe0a0721d9be885ad151f15e5ab97">More...</a><br /></td></tr>
<tr class="separator:a950fe0a0721d9be885ad151f15e5ab97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a694544ad7f3850a490cedfd389efd77f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html#a694544ad7f3850a490cedfd389efd77f">CoordinateSystem</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a694544ad7f3850a490cedfd389efd77f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coordinate system used to transform the points from data space to plot space.   <a href="class_vect_sharp_1_1_plots_1_1_plot_element.html#a694544ad7f3850a490cedfd389efd77f">More...</a><br /></td></tr>
<tr class="separator:a694544ad7f3850a490cedfd389efd77f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td colspan="2" onclick="javascript:toggleInherit('properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element')"><img src="closed.png" alt="-"/>&#160;Properties inherited from <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html">VectSharp.Plots.IPlotElement</a></td></tr>
<tr class="memitem:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">CoordinateSystem</a><code> [get]</code></td></tr>
<tr class="memdesc:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="mdescLeft">&#160;</td><td class="mdescRight">The coordinate system used to transform the points from data space to plot space.   <a href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">More...</a><br /></td></tr>
<tr class="separator:a1f27e4aba8d0ea33df7cd25a74bd8909 inherit properties_interface_vect_sharp_1_1_plots_1_1_i_plot_element"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A plot element that uses an Action to draw its contents.  </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>The type of data to plot (e.g. <code>double[]</code>).</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_plot_8cs_source.html#l00109">109</a> of file <a class="el" href="_plot_8cs_source.html">Plot.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a281eea97e18fe4d743a570446af2237d" name="a281eea97e18fe4d743a570446af2237d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a281eea97e18fe4d743a570446af2237d">&#9670;&#160;</a></span>PlotElement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html">VectSharp.Plots.PlotElement</a>&lt; T &gt;.<a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html">PlotElement</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; T &gt;&#160;</td>
          <td class="paramname"><em>coordinateSystem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Action&lt; <a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt; T &gt; &gt;&#160;</td>
          <td class="paramname"><em>plotAction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html#a281eea97e18fe4d743a570446af2237d" title="Create a new PlotElement&lt;T&gt; using the specified coordinate system and plot action.">PlotElement&lt;T&gt;</a> using the specified coordinate system and plot action.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">coordinateSystem</td><td>The coordinate system used to transform the points from data space to plot space.</td></tr>
    <tr><td class="paramname">plotAction</td><td>The action that is invoked when the plot element needs to be drawn.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_plot_8cs_source.html#l00127">127</a> of file <a class="el" href="_plot_8cs_source.html">Plot.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aaf5aaf6fa1f7bf58dfccde750e654e35" name="aaf5aaf6fa1f7bf58dfccde750e654e35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf5aaf6fa1f7bf58dfccde750e654e35">&#9670;&#160;</a></span>Plot()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html">VectSharp.Plots.PlotElement</a>&lt; T &gt;.<a class="el" href="class_vect_sharp_1_1_plots_1_1_plot.html">Plot</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw the plot element on the specified <em>target</em> &amp;#160;<a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a>. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> on which to draw.</td></tr>
  </table>
  </dd>
</dl>
 </p>

<p>Implements <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a245cbde8d8059a46690bd3b32b1cf903">VectSharp.Plots.IPlotElement</a>.</p>

<p class="definition">Definition at line <a class="el" href="_plot_8cs_source.html#l00134">134</a> of file <a class="el" href="_plot_8cs_source.html">Plot.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a id="a694544ad7f3850a490cedfd389efd77f" name="a694544ad7f3850a490cedfd389efd77f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a694544ad7f3850a490cedfd389efd77f">&#9670;&#160;</a></span>CoordinateSystem</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt;T&gt; <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html">VectSharp.Plots.PlotElement</a>&lt; T &gt;.<a class="el" href="class_vect_sharp_1_1_plots_1_1_coordinate_system.html">CoordinateSystem</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The coordinate system used to transform the points from data space to plot space.  </p>

<p>Implements <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_plot_element.html#a1f27e4aba8d0ea33df7cd25a74bd8909">VectSharp.Plots.IPlotElement</a>.</p>

<p class="definition">Definition at line <a class="el" href="_plot_8cs_source.html#l00119">119</a> of file <a class="el" href="_plot_8cs_source.html">Plot.cs</a>.</p>

</div>
</div>
<a id="a950fe0a0721d9be885ad151f15e5ab97" name="a950fe0a0721d9be885ad151f15e5ab97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a950fe0a0721d9be885ad151f15e5ab97">&#9670;&#160;</a></span>PlotAction</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Action&lt;<a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>, <a class="el" href="interface_vect_sharp_1_1_plots_1_1_i_coordinate_system.html">ICoordinateSystem</a>&lt;T&gt; &gt; <a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html">VectSharp.Plots.PlotElement</a>&lt; T &gt;.PlotAction</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The action that is invoked when the plot element needs to be drawn.  </p>

<p class="definition">Definition at line <a class="el" href="_plot_8cs_source.html#l00114">114</a> of file <a class="el" href="_plot_8cs_source.html">Plot.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp.Plots/<a class="el" href="_plot_8cs_source.html">Plot.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="namespace_vect_sharp_1_1_plots.html">Plots</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_plots_1_1_plot_element.html">PlotElement</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
